<%--
  Created by IntelliJ IDEA.
  User: 墨苍璃
  Date: 2022/1/12
  Time: 0:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>SpringMVC-file</title>
    </head>
    <body>
        <form action="/upload" enctype="multipart/form-data" method="post">
            <input type="file" name="file"/>
            <input type="submit" value="upload">
        </form>

        <form action="/upload2" enctype="multipart/form-data" method="post">
            <input type="file" name="file"/>
            <input type="submit" value="upload">
        </form>

        <a href="/download">点击下载</a>
    </body>
</html>
